home *** CD-ROM | disk | FTP | other *** search
/ PC Active 2009 July/August / PC Active NR.227.iso / Software / Games / windows / SMC_1.8_win32.exe / docs / readme-linux.txt < prev    next >
Encoding:
Text File  |  2009-03-01  |  2.8 KB  |  73 lines

  1.  
  2. - Readme for Linux -
  3.  
  4. To run this game on Linux, you have two possibilities: You can either
  5. compile your own binary or you can use a pre-compiled version if it's
  6. available for download, too. The pre-compiled version sometimes is statically linked,
  7. so it should run on all Linux/i86 systems. To use it simply run the
  8. "smc" executable in the 1.* folder.
  9.  
  10. If it does not work or if you are using any other system than Linux/i86, you
  11. have to get the source code and compile your own executable file.
  12.  
  13. The rest of this file describes how to compile this game for Linux.
  14. The build files are just a quick-n-dirty hack and are not very well tested,
  15. so if you run into problems, please contact me. 
  16.  
  17. 1.) Requirements
  18.  
  19. You need:
  20. - The Secret Maryo Chronicles source distribution.
  21. - The GCC G++ compiler (version 3.4 or higher)
  22. - Following libraries (with headers/development files):
  23.     Boost Filesystem ( >= 1.31 )
  24.     GNU Gettext
  25.     SDL ( >= 1.2.10 )
  26.     SDL_image ( >= 1.2.0 )
  27.         libpng
  28.     SDL_mixer ( >= 1.2.0 )
  29.         libvorbis
  30.     SDL_ttf ( >= 2.0 )
  31.         FreeType 2
  32.     CEGUI ( >= 0.5 )
  33.         Either SILLY, DevIL or FreeImage
  34. - GNU make
  35. - autoconf (2.57 or higher) and automake (IMPORTANT: version 1.7 or higher)
  36.  
  37. 2.) How to build the sources with automake/autoconf ?
  38.  
  39. Change to the directory with the "autogen.sh" and "configure.ac" files.
  40. Then run the autogen.sh script by typing "./autogen.sh" (alternatively
  41. you can also run "autoreconf -i" instead).
  42. You'll get a "configure" script - run it by typing "./configure".
  43. (You might want to run "./configure --help" first to have a look at the
  44. available options).
  45. If everything is fine, you'll get the Makefile. Now you can build SMC by
  46. simply running "make".
  47.  
  48.  
  49. 3.) How to install the game from the source distribution ?
  50.  
  51. Make sure you have the graphics and levels files from the either the binary
  52. Linux distribution of Secret Maryo Chronicles or from the Windows version of SMC
  53. (i.e. you need the folder "data" folder with all its sub-folders like "font",
  54. "levels", "music", "pixmaps", "sounds", "world" and more ) and copy these data
  55. sub-folders to the "data" directory in the source tree. You should also
  56. download the music files package if you want to have background musics.
  57.  
  58. Now type "make install" to install the game in the directory that has been
  59. determined while running the "configure" script.
  60.  
  61.  
  62. 4.) How to start ? 
  63.  
  64. Afer installation, the "smc" executable has been placed in the "bin" folder
  65. that has been determined while running "configure". Simply run this executable
  66. to start SMC. Run it with the parameter "--help" to see the possible options.
  67.  
  68. 5.) Please Contribute
  69.  
  70. If you get SMC compiled on a distribution or Operating System which SMC doesn't support
  71. please send your modifications and a link to the prebuild installation packages.
  72.  
  73.